package com.sleep.flowabledemo.server.impl;

import lombok.extern.slf4j.Slf4j;
import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;

/**
 * @ClassName Task01
 * @Description TODO
 * @Author 郭敖
 * @Date 2024年05月04日 14:00
 * @Version 1.0
 */
@Slf4j
public class Task01 implements JavaDelegate {
    @Override
    public void execute(DelegateExecution execution) {
        log.warn("task01 starting ...");
        execution.setVariable("isPass", true);
    }
}
